import imp
import os.path as osp


def load(name):
    pathname = osp.join(
        osp.dirname(__file__), name
    )  # 意思是将__init__.py所在的目录和name拼接起来
    return imp.load_source("", pathname)
